<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="css/amazeui.css" />
	<link rel="stylesheet" href="css/core.css" />
	<link rel="stylesheet" href="css/menu.css" />
</head>
<body>
	<div style="margin-top: 25px;width: 1070px; height: 40px;line-height: 40px;background-color: #EEF;">
		<div>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="add.jsp">添加</a>
		</div>
	</div>
	<!--建议使用layui中table-->
	<div style="margin-top:20px;width: 100%; height: 100%;line-height: 60px;background-color: #EEF;">
		<table align="center" class="table table-striped" width="96%" height="100%" border="1">
			<tr height="50px">
				<th>编号</th><th>名称</th><th>适用车型</th>
				<th>类型属性</th><th>图片路径</th><th>编辑</th>
			</tr>
			<s:iterator value="list">
			<tr>
				<td>${autoId }</td><td>${autoName }</td><td>${autotype }</td>
				<td>${autoPro }</td><td>${autoImg }</td><td><a href="apiinfoAction!getHt?id=${autoId }">修改</a> <a href="apiinfoAction!del?id=${autoId }">删除</a></td>
			</tr>
			</s:iterator>
		</table>
		<div style="margin-left:450px">
		<a href="apiinfoAction!selectHtPage?ye=1">首页</a>
					<a href="apiinfoAction!selectHtPage?bian=-1">上一页</a>
					<a href="apiinfoAction!selectHtPage?bian=1">下一页</a>
					<a href="apiinfoAction!selectHtPage?ye=999">尾页</a></div>
	</div>
</body>
</html>